# ProgramParameter connection examples

The following table shows parameter examples you can follow when filling in the ProgramParameter connection.

Parameters | Parameter Functions | Examples | Descriptions
-p | Go to page | Foxitreader "file_path/file".pdf -p 2 | Opens the PDF file to page 2.
-zw | Fit width | Foxitreader “file_path/file.pdf” -zw | Opens the PDF file and fits the view to the page width.
-zp | Fit page | Foxitreader “file.pdf”-zp | Opens the PDF file and shows the full page.
-z | Zoom to | Foxitreader “file.pdf”-z 150 | Opens the PDF file and zooms to 150%.
Multiple parameters | Enter empty spaces between parameters and parameter values | Foxitreader “file_path/file.pdf” -p 2 -zw | Opens the PDF file to page 2 and fits the view the page width.
-b | Go to bookmark | Foxitreader “file_path/file.pdf” -b “Bookmark1” | Opens the PDF file to the location specified within Bookmark1.
-d | Go to named destination | Foxitreader “file_path/file.pdf” -b “Destination1” | Opens the PDF file to the location specified within Destination 1.
-g | Makes the File>Open command on the Menu and the Open folder button unavailable | Foxitreader “file_path/file.pdf” -g | Opens the PDF file and makes the Menu command File>Open and the Open folder button command unavailable.

## See also

Program Launcher ActiveX control

Connections for the Program Launcher ActiveX control

Program Launcher ActiveX control connections for FoxIt Reader